<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="include/peizhi.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="${ctx}">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
        
        <title>后台管理中心</title> 
		<link rel="stylesheet" href="${ctx}/css/pintuer.css" /> 
		<link rel="stylesheet" href="${ctx}/css/admin.css" /> 
        <script type="text/javascript" src="${ctx}/js/jquery-1.9.1.min.js"></script>
    </head>
  	<body style="background-color:#f2f9fd;"> 
	  <jsp:include page="include/header.jsp" flush="true"/>
  <div class="admin"> 
  	<div class="panel admin-panel">
	  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 添加地址</strong></div>
	  <div class="padding border-bottom">  
	  <button type="button" class="button border-yellow" onclick="window.location.href='/activity/addActivity'">  类型列表</button>
	  </div>
	  <div class="body-content">
	    <form method="post" id='formall' class="form-x" action="">   
	    <input type="hidden" name='reserve' value='1'>   
	      <div class="form-group">
	        <div class="label">
	          <label>类型名称：</label>
	        </div>
	        <div class="field">
	          <input type="text" id="title" class="input" name="title" value="" />
	          <div class="tips"></div>
	        </div>
	      </div>
	      <div class="form-group">
	        <div class="label">
	          <label>类型编码：</label>
	        </div>
	        <div class="field">
	          <input type="text" class="input" name="keyword" value=""  placeholder="英文字母，如：钢铁制造业   gangtiezhizao 不得出现重复的编码值"/>
	          <div class="tips"></div>
	        </div>
	      </div>
	      <div class="form-group">
	        <div class="label">
	          <label></label>
	        </div>
	        <div class="field">
	          <button class="button bg-main icon-check-square-o" id="formSub" type="button"> 提交</button>
	        </div>
	      </div>
	    </form>
	  </div>
	</div>
   <!-- <iframe scrolling="auto" rameborder="0" src="info.jsp" name="right" width="100%" height="100%"></iframe>  -->
  </div> 
   <div id="bg"></div><!-- 遮挡层 -->
    <div id="show">提示语</div>
 </body>
 <script type="text/javascript">
 function showdiv() {              
            //document.getElementById("bg").style.display ="block";  
            $("#bg").show();
            $("#show").show();
        }  
function hidediv() {  
            document.getElementById("bg").style.display ='none';  
            document.getElementById("show").style.display ='none';  
        }
        $("#formSub").click(function(){
        	showdiv();
        });
       
</script>
</html>